package test916;

import java.util.Scanner;

public class mySwitch {
    public static void main(String[] args) {
        System.out.println("please enter a score: ");
        Scanner scanner = new Scanner(System.in);
        int score = scanner.nextInt();
        switch (score/10)
        {
            case 10:
            case 9:
                System.out.println("优秀");
                break;
            case 8:
                System.out.println("良");
                break;
            case 7:
                System.out.println("及格");
                break;
            default:
                System.out.println("不及格");
                break;
        }
    }
}
